function article(){
    return this;
}
var controlFns = {
    index : function(args){
        var mSelf = this;
        if(args){
            var id = args.split('_')[1];
        }
        this.articledetail(id);
    },
    articledetail : function(id){
        //参数格式id_xx

        var php = {
            'article' : 'store::/news/info?id='+id
        };
        var mSelf = this;
        this.setSDefault(php);
        this.bridgeMuch(php);
        this.listenOver(function(data){

            data.condition = this.req.__get;
            //console.log(data.condition);

            data.groupPg = {};
            /*data.photoItems = [
                {
                    src: 'https://farm2.staticflickr.com/1043/5186867718_06b2e9e551_b.jpg',
                    w: 964,
                    h: 1024,
                    title: 'image1',
                    size:'964x1024'
                },
                {
                    src: 'https://farm7.staticflickr.com/6175/6176698785_7dee72237e_b.jpg',
                    w: 1024,
                    h: 683,
                    title: 'image2',
                    size:'1024x683'
                }
            ];*/
            //data.groupPg.total_num = 2000;
            //data.groupPg.page_size = 10;
            //data.groupPg.current_page = page;

            data._CSSLinks = ['h5/css/article'];
            data._JSLinks  = ['h5/min/article'];
            data.pageTitle = 'article';
            mSelf.render('article/article.html', data);
        });
    }
};
exports.__create = controller.__create(article , controlFns);
